package com.aat.dizena.base.dao;

import java.util.*;
import org.springframework.stereotype.Repository;
import com.aat.dizena.base.bean.Ress;

@Repository
public interface RessDao {

	int addBean(Ress bean);

	int updateBean(Ress bean);

	int deleteBean(String id);

	Ress queryBean(String id);

	List<Ress> queryAll(Map<String, Object> map);

	long queryCount(Map<String, Object> map);

	Integer queryResSort(Map<String, Object> map);

	List<Ress> queryParentRes(Map<String, Object> map);

}
